package com.erclab.xbuilder.exception;

public class DBManagerException extends Exception {

	private static final long serialVersionUID = -5239668663375362534L;

	protected Exception theException;
	protected String description;
	
	public DBManagerException(String description){
		this.description = description;
	}

	public DBManagerException(String description, Exception theException){
		this.description = description;
		this.theException = theException;
	}
	
	public Exception getTheException() {
		return theException;
	}

	public void setTheException(Exception theException) {
		this.theException = theException;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	
}
